Leadtools.Dicom Namespace > DicomDataSet Class > GetPreamble Method : GetPreamble(Byte[],Int32,UInt32) Method |
'Declaration Public Overloads Sub GetPreamble( _ ByRef preamble As Byte(), _ ByVal offset As Integer, _ ByVal length As UInteger _ )
'Usage Dim instance As DicomDataSet Dim preamble As Byte() Dim offset As Integer Dim length As UInteger instance.GetPreamble(preamble, offset, length)
If the value specified by length is >= 128, then preamble will be updated with the entire preamble. If length is < 128, then preamble will be updated with a truncated version of the Preamble with length length.